Internal temperature measurement